<include  file='Public:header'/>
<div class="local">
    当前位置:  管理员
</div>
<div class="action">
    <em>注意：</em>非超级管理员不能编辑管理员的权限组
</div>
<div class="listBox clfx">        
    <div class="memberAdd">
        <span class="s2">
            {:BA('add', '', '添加管理员', 'load', '', 600, 320)}
        </span>
    </div> 
    <div class="cl"></div>
     <div class="reginDataBox" >
         <form method="post" action="{:U('index')}">
         <table cellpadding="0" cellspacing="0" width="400">
             <tr>
                 <td width="400">
                     搜索：<input type="text" name="keyword" value="{$keyword}" class="remberinput" /> <input type="submit" class="remberSubmit" value="搜索" />
                 </td>
             </tr>
         </table>
         </form>
     </div>
    <div class="cl"></div>
    <table cellpadding="0"  cellspacing="0" width="100%" class="rembertable">
        <tr>
            <th>ID</th>
            <th>用户名</th>
            <th>角色</th>
            <th>手机</th>
            <th>创建时间</th>
            <th>创建IP</th>
            <th>最后登录时间</th>
            <th>最后登录IP</th>
            <th>操作</th>
        </tr>
        <foreach name="list" item="var">
            <tr>
                <td>{$var.id}</td>
                <td>{$var.username}</td>
                <td>{$var.role_name}</td>
                <td>{$var.mobile}</td>
                <td>{$var.create_time|date="Y-m-d H:i:s",###}</td>
                <td>{$var.create_ip}</td>
                <td>{$var.last_time|date="Y-m-d H:i:s",###}</td>
                <td>{$var.last_ip}</td>
                <td>
                    {:BA('edit', array("id" => $var["id"]), '编辑', 'load', 'remberBtn', 600, 310)}
                    {:BA('delete',array("id"=> $var["id"]), '删除', 'act', 'remberBtn')}
                </td>
            </tr>
        </foreach>
        <tr>
            <td colspan="20" align="left">
                <div class="lt">
                    {$page}
                </div>
            </td>
        </tr>
    </table>
</div>
<include  file='Public:footer'/>       